<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>错题本 - 乐考无忧</title>
    <link href="assets/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/bootstrap-icons.css">
    <style>
        body {
            background-color: #f0f9f9;
            padding-bottom: 70px;
        }
        .header {
            padding: 15px;
            background: white;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .wrong-question-card {
            background: white;
            margin: 15px;
            padding: 20px;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .wrong-question-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .chapter-info {
            color: #40E0D0;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }
        .question-text {
            color: #333;
            margin-bottom: 15px;
            line-height: 1.6;
        }
        .wrong-info {
            display: flex;
            justify-content: space-between;
            color: #dc3545;
            font-size: 0.9rem;
            padding-top: 10px;
            border-top: 1px solid #eee;
        }
        .filter-section {
            background: white;
            margin: 15px;
            padding: 15px;
            border-radius: 15px;
        }
        .filter-chips {
            display: flex;
            gap: 10px;
            margin-top: 10px;
            flex-wrap: wrap;
        }
        .filter-chip {
            background: #f0f0f0;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            cursor: pointer;
        }
        .filter-chip.active {
            background: #40E0D0;
            color: white;
        }
    </style>
</head>
<body>
    <!-- 头部 -->
    <div class="header d-flex align-items-center">
        <a href="math.html" class="text-dark">
            <i class="bi bi-chevron-left fs-4"></i>
        </a>
        <h5 class="mb-0 mx-auto">错题本</h5>
    </div>

    <!-- 筛选区域 -->
    <div class="filter-section">
        <h6>按章节筛选</h6>
        <div class="filter-chips">
            <div class="filter-chip active">全部</div>
            <div class="filter-chip">高等数学</div>
            <div class="filter-chip">线性代数</div>
            <div class="filter-chip">概率统计</div>
        </div>
    </div>

    <!-- 错题列表 -->
    <a href="math-real-explanation.html" class="text-decoration-none">
        <div class="wrong-question-card">
            <div class="chapter-info">
                <i class="bi bi-bookmark-fill"></i>
                高等数学 - 微分方程
            </div>
            <div class="question-text">
                求解微分方程 y' + 2y = e^x 的通解...
            </div>
            <div class="wrong-info">
                <span>错误原因：计算步骤有误</span>
                <span>错误次数：2</span>
            </div>
        </div>
    </a>

    <!-- 更多错题卡片 -->
    <a href="math-special-explanation.html" class="text-decoration-none">
        <div class="wrong-question-card">
            <div class="chapter-info">
                <i class="bi bi-bookmark-fill"></i>
                线性代数 -
</body>
</html> 